package main

import (
	"github.com/gin-gonic/gin"
	"log"
)

func main() {
	r := gin.Default()
	r.POST("/register", Registering)
	r.POST("/login", Logining)
	r.GET("/askDonate", Donating)
	r.POST("/addInfo", AddInfo)
	r.GET("/askInfo", AskInfo)
	if err := r.Run(":9000"); err != nil {
		log.Panic(err)
	}
}
